<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<link href="<%=request.getContextPath()%>/css/counter.css" type="text/css" rel="stylesheet" />
<div class="navbar">
	<div class="navbar-inner">
		<div class="container">
			<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="<%=request.getContextPath()%>/global_core.html">ATEPAY</a>
			<div class="nav-collapse">
				<ul class="nav">
					<li class="active">
						<a href="<%=request.getContextPath()%>/global_core.html">首页</a>
					</li>
					
					<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[0][0]==1">
					<li class="dropdown">
						<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown"><s:property value="@common.Menu@MENU[0][0][0]"/> <b class="caret"></b></a>
						<ul class="dropdown-menu">
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[0][1]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[0][1][1]"/>"><s:property value="@common.Menu@MENU[0][1][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[0][2]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[0][2][1]"/>"><s:property value="@common.Menu@MENU[0][2][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[0][3]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[0][3][1]"/>"><s:property value="@common.Menu@MENU[0][3][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[0][4]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[0][4][1]"/>"><s:property value="@common.Menu@MENU[0][4][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[0][5]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[0][5][1]"/>"><s:property value="@common.Menu@MENU[0][5][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[0][6]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[0][6][1]"/>"><s:property value="@common.Menu@MENU[0][6][0]"/></a>
							</li>
							</s:if>
						</ul>
					</li>
					</s:if>
					
					
					<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[1][0]==1">
					<li class="dropdown">
						<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown"><s:property value="@common.Menu@MENU[1][0][0]"/> <b class="caret"></b></a>
						<ul class="dropdown-menu">
							<li class="nav-header">
								交易信息
							</li>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[1][1]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[1][1][1]"/>"><s:property value="@common.Menu@MENU[1][1][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[1][2]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[1][2][1]"/>"><s:property value="@common.Menu@MENU[1][2][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[1][3]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[1][3][1]"/>"><s:property value="@common.Menu@MENU[1][3][0]"/></a>
							</li>
							</s:if>
							
							<li class="divider">
							</li>
							
							<li class="nav-header">
								交易相关
							</li>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[1][4]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[1][4][1]"/>"><s:property value="@common.Menu@MENU[1][4][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[1][5]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[1][5][1]"/>"><s:property value="@common.Menu@MENU[1][5][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[1][6]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[1][6][1]"/>"><s:property value="@common.Menu@MENU[1][6][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[1][7]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[1][7][1]"/>"><s:property value="@common.Menu@MENU[1][7][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[1][8]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[1][8][1]"/>"><s:property value="@common.Menu@MENU[1][8][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[1][9]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[1][9][1]"/>"><s:property value="@common.Menu@MENU[1][9][0]"/></a>
							</li>
							</s:if>
							
						</ul>
					</li>
					</s:if>
					
					
					<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[2][0]==1">
					<li class="dropdown">
						<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown"><s:property value="@common.Menu@MENU[2][0][0]"/> <b class="caret"></b></a>
						<ul class="dropdown-menu">
						
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[2][1]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[2][1][1]"/>"><s:property value="@common.Menu@MENU[2][1][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[2][2]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[2][2][1]"/>"><s:property value="@common.Menu@MENU[2][2][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[2][3]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[2][3][1]"/>"><s:property value="@common.Menu@MENU[2][3][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[2][4]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[2][4][1]"/>"><s:property value="@common.Menu@MENU[2][4][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[2][5]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[2][5][1]"/>"><s:property value="@common.Menu@MENU[2][5][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[2][6]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[2][6][1]"/>"><s:property value="@common.Menu@MENU[2][6][0]"/></a>
							</li>
							</s:if>
							
						</ul>
					</li>
					</s:if>
					
					
					<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[3][0]==1">
					<li class="dropdown">
						<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown"><s:property value="@common.Menu@MENU[3][0][0]"/> <b class="caret"></b></a>
						<ul class="dropdown-menu">
						
							<li class="nav-header">
								按周期
							</li>
						
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[3][1]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[3][1][1]"/>"><s:property value="@common.Menu@MENU[3][1][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[3][2]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[3][2][1]"/>"><s:property value="@common.Menu@MENU[3][2][0]"/></a>
							</li>
							</s:if>
							
							<li class="divider">
							</li>
							<li class="nav-header">
								按网站
							</li>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[3][3]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[3][3][1]"/>"><s:property value="@common.Menu@MENU[3][3][0]"/></a>
							</li>
							</s:if>
							
						</ul>
					</li>
					</s:if>
					
					<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[4][0]==1">
					<li class="dropdown">
						<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown"><s:property value="@common.Menu@MENU[4][0][0]"/> <b class="caret"></b></a>
						<ul class="dropdown-menu">
						
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[4][1]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[4][1][1]"/>"><s:property value="@common.Menu@MENU[4][1][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[4][2]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[4][2][1]"/>"><s:property value="@common.Menu@MENU[4][2][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[4][3]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[4][3][1]"/>"><s:property value="@common.Menu@MENU[4][3][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[4][4]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[4][4][1]"/>"><s:property value="@common.Menu@MENU[4][4][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[4][5]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[4][5][1]"/>"><s:property value="@common.Menu@MENU[4][5][0]"/></a>
							</li>
							</s:if>
							
							<s:if test="@net.sf.json.JSONArray@fromObject(#session.subject.subMenu)[4][6]==1">
							<li>
								<a href="<%=request.getContextPath()%>/<s:property value="@common.Menu@MENU[4][6][1]"/>"><s:property value="@common.Menu@MENU[4][6][0]"/></a>
							</li>
							</s:if>
							
						</ul>
					</li>
					</s:if>
				</ul>
				<form class="navbar-search pull-left" action="<%=request .getContextPath()%>/transaction_show.html">
					<input type="text" class="search-query span2" placeholder="交易流水号快速查询"  name="txnNo"/>
				</form>
				<ul class="nav pull-right">
					<li>
						<a href="<%=request.getContextPath()%>/mail_list.html"  style=" position: relative;">欢迎你,<s:property value="#session.subject.subName"/>
						<s:if test="mailCount>0"><div class="counter"><s:property value="mailCount"/></div></s:if>
						</a>
					</li>
					<li>
						<a href="<%=request.getContextPath()%>/subject_logout.html">登出</a>
					</li>
				</ul>
			</div>
		</div>
	</div>
</div>